package com.jeesite.modules.rt.job;


import com.jeesite.modules.mo.dao.MoUserDeviceDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class DeviceService {


    @Autowired
    private MoUserDeviceDao moUserDeviceDao;


    /**
     * 用户设备昨天收益清0
     */
    @Scheduled(cron = "0 1 0 * * ?")
    public void moUserDeviceQingling(){
        moUserDeviceDao.qinglinqUserDevice();
    }
}
